<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>a标签的伪类</title>
    <style>
        a:link{
            color: #0f0;
        }
        a:visited{
            color: #f0f;
        }
        a:hover{
            color: #ff0;
        }
        a:active{
            color: #0ff;
        }
    </style>
</head>
<body>
    <a href="http://www.baidu.com" target="_blank">点击跳转到百度</a>
</body>
